package com.mercury.pattern._08_composite;

/**
 *
 */
public class Department extends ColleageComponent {

    public Department(String name, String desc) {
        super(name, desc);
    }

    @Override
    public void print() {
        System.out.println(this.getName() + "::" + this.getDesc());
    }
}